package com.zheng.作业01;

public class Architect extends Designer{
    private int gupiao;

    public Architect(String id, String name, int age, int money, String bianChengYuYan, int jiangjing, int gupiao) {
        super(id, name, age, money, bianChengYuYan, jiangjing);
        this.gupiao = gupiao;
    }

    public int getGupiao() {
        return gupiao;
    }

    public void setGupiao(int gupiao) {
        this.gupiao = gupiao;
    }

    @Override
    public void getinfo() {
        super.getinfo();
        System.out.println(getGupiao());
    }
}
